import Vue from 'vue'
import ElementUI from 'element-ui';
import App from './App.vue'
import store from '@/store';
import router from '@core-router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import Animate from 'animate.css'
import VueAreaLinkage from 'vue-area-linkage';

import "./style/basic.scss"
import 'element-ui/lib/theme-chalk/index.css';
import 'swiper/dist/css/swiper.css'

import 'vue-area-linkage/dist/index.css';
import Http from '@/assets/request';
import Rem from '@/assets/sethtml/fontRem.js';
import Plugins from '@/assets/commons/installation';

import quillEditor from "vue-quill-editor";
import "quill/dist/quill.core.css";
import "quill/dist/quill.snow.css";
import "quill/dist/quill.bubble.css";

const channel = new BroadcastChannel('myChannel');

Vue.prototype.channel = channel

Vue.use(Http)
Vue.use(Rem)
Vue.use(ElementUI)
// Vue.use(Animate)
Vue.use(VueAwesomeSwiper)
Vue.use(VueAreaLinkage)
Vue.use(Plugins)

Vue.use(quillEditor)
Vue.config.productionTip = false



new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')